Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 2.06 KB

File metadata and controls

56 lines (36 loc) · 2.06 KB
external help file Module Name ms.assetid online version schema
AIP.dll-Help.xml
AzureInformationProtection
2114B811-35D8-45E4-930B-52A636AC40E4
2.0.0

Clear-RMSAuthentication

SYNOPSIS

Clears credentials for a user who is authenticated to the Azure RMS service.

SYNTAX

Clear-RMSAuthentication [<CommonParameters>]

DESCRIPTION

The Clear-RMSAuthentication cmdlet clears the credentials that are used when a user has previously entered their user name and password to authenticate to Azure Rights Management (Azure RMS).

When you enter a user name and password to sign in to Azure RMS, the credentials are cached on the computer. Because these cached credentials are used across PowerShell sessions, to sign in as a different user, you must first run Clear-RMSAuthentication. You are then prompted for new credentials.

This cmdlet applies to Azure RMS only and when you authenticate as a user rather than a service principal. It does not apply to AD RMS.

Tip

If you want to clear the credentials for a service principal that you specified with Set-RMSServerAuthentication, close your PowerShell session and start a new session that runs Set-RMSServerAuthentication with the new credentials.

EXAMPLES

Example 1: Clear authentication credentials

PS C:\>Clear-RMSAuthentication                        
Authentication cleared

This command clears the currently cached authentication credentials for a user who is authenticated to Azure RMS on a computer that is not joined to a domain.

PARAMETERS

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

NOTES

RELATED LINKS

Set-RMSServerAuthentication